<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link th:href="@{/uploadeFile/css/common.css}"  rel="stylesheet"/>
<link  th:href="@{/uploadeFile/css/index.css}"   rel="stylesheet"/>
<script src="http://gosspublic.alicdn.com/aliyun-oss-sdk-4.4.4.min.js"></script>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-complaint-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">投诉原因：</label>
				<div class="col-sm-8">
					<input id="causeId" name="causeId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">投诉用户ID号：</label>
				<div class="col-sm-8">
					<input id="fromMemberId" name="fromMemberId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">被投诉用户ID号：</label>
				<div class="col-sm-8">
					<input id="toMemberId" name="toMemberId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">投诉内容：</label>
				<div class="col-sm-8">
					<input id="content" name="content" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">投诉时间：</label>
				<div class="col-sm-8">
					<input id="createDate" name="createDate" class="form-control" type="date">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-8">
					<section class=" img-section" data-limit="5">
						<input type="hidden" id="photo" name="picture" class="getvalue" value="">
						<p class="up-p"><span class="up-span">截图：</span></p>
						<div class="z_photo upimg-div clear" >
							<section class="z_file fl">
								<img th:src="@{/uploadeFile/img/a11.png}"  class="add-img">
								<input type="file" name="file" id="file" class="file" value="" accept="*" multiple />
							</section>
						</div>
					</section>
				</div>
			</div>

		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "sj/complaint"
		$("#form-complaint-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-complaint-add').serialize());
	        }
	    }
	</script>
	<!--upload-->

	<script  th:src="@{/uploadeFile/js/imgUp.js}"></script>

</body>
</html>
